#!/usr/bin/env python
# -*- coding: utf-8 -*-

import _index
import _clientstatictis
import _clientDaily
import _clientDailyiPad
import _clientDataToJohn
import _clientDataToAndroid
import _clientAnalytics
import _clientPaikeAnalytics
import _pidManage
import _clientUser
import getCSV
import _clientRadiusUser
import _clientPaikeCollect

urls = [
        (ur'/clientstat/pv', _clientstatictis.ClientStatPV),
        (ur'/clientstat/uv', _clientstatictis.ClientStatUV),
        (ur'/clientstat/wap', _clientstatictis.ClientStatWAP),
        (ur'/client/pv', _clientDaily.PV),
        (ur'/client/uv', _clientDaily.UV),
        (ur'/client/vv', _clientDaily.VV),
        (ur'/client/server', _clientDaily.SERVERPV),
        (ur'/client/pid', _clientDaily.PID),
        (ur'/client/channel', _clientDaily.Channel),
        (ur'/client/daily', _clientDaily.Daily),
        (ur'/client/v2/daily', _clientDaily.DailyV2),
        (ur'/client/john/daily\.?(json|xml|text)?', _clientDataToJohn.Daily),
        (ur'/client/john/test\.?(json|xml|text)?', _clientDataToJohn.Test),
        (ur'/client/android/daily\.?(json|xml|text)?', _clientDataToAndroid.Daily),
        (ur'/client/ipad/daily', _clientDailyiPad.Daily),
        (ur'/client/mainAnalytics\.?(json|xml|text)?', _clientAnalytics.MainClient),
        (ur'/client/mainVideoAnalytics\.?(json|xml|text)?', _clientAnalytics.MajorVideoAnalytics),
        (ur'/client/oldmainVideoAnalytics\.?(json|xml|text)?', _clientAnalytics.OldMajorVideoAnalytics),
        (ur'/client/test\.?(json|xml|text)?', _clientAnalytics.Test),
        (ur'/client/mainTotalUser\.?(json|xml|text)?', _clientAnalytics.MainTotalUser),
        (ur'/client/promoFactoryName\.?(json|xml|text)?', _clientAnalytics.PromoFactoryName),
        (ur'/client/promoAnalytics\.?(json|xml|text)?', _clientAnalytics.PromoAnalytics),
        (ur'/client/factoryName\.?(json|xml|text)?', _clientAnalytics.FactoryName),
        (ur'/client/factoryDeviceMode\.?(json|xml|text)?', _clientAnalytics.FactoryDeviceMode),
        (ur'/client/promoDeviceMode\.?(json|xml|text)?', _clientAnalytics.PromoDeviceMode),
        (ur'/client/factoryAnalytics\.?(json|xml|text)?', _clientAnalytics.FactoryAnalytics),
        (ur'/client/factoryVideoAnalytics\.?(json|xml|text)?', _clientAnalytics.FactoryVideoAnalytics),
        (ur'/client/promoVideoAnalytics\.?(json|xml|text)?', _clientAnalytics.PromoVideoAnalytics),
        (ur'/client/factoryOSComp\.?(json|xml|text)?', _clientAnalytics.FactoryOSComp),
        (ur'/client/factoryComp\.?(json|xml|text)?', _clientAnalytics.FactoryComp),
        (ur'/client/paikeTotalUser\.?(json|xml|text)?', _clientPaikeAnalytics.PaikeTotalUser),
        (ur'/client/paikeAnalytics\.?(json|xml|text)?', _clientPaikeAnalytics.PaikeClient),
        (ur'/client/mainPaikeAnalytics\.?(json|xml|text)?', _clientPaikeAnalytics.MainPaikeAnalytics),
        (ur'/client/maindlVideoAnalytics\.?(json|xml|text)?', _clientAnalytics.MainDlVideo),
        (ur'/client/mainboardVideoAnalytics\.?(json|xml|text)?', _clientAnalytics.MainBoardVideo),
        (ur'/client/mainboardPaikeAnalytics\.?(json|xml|text)?', _clientAnalytics.MainBoardPaike),
        (ur'/client/maindlPaikeAnalytics\.?(json|xml|text)?', _clientAnalytics.MainDlPaike),
        (ur'/client/oldmainPaikeAnalytics\.?(json|xml|text)?', _clientPaikeAnalytics.OldMainPaikeAnalytics),
        (ur'/client/userLogin\.?(json|xml|text)?', _clientUser.UserLogin),
	(ur'/client/getcsv\.?(json|xml|text)?', getCSV.GetCsvs),
    (ur'/client/getcsv_save\.?(json|xml|text)?', getCSV.GetCsvssave),
    (ur'/client/wt\.?(json|xml|text)?', getCSV.GetCsvs),
        (ur'/client/userPamLogin\.?(json|xml|text)?', _clientRadiusUser.UserLogin),
        (ur'/client/returnversion\.?(json|xml|text)?', _clientAnalytics.ReturnVersion),
        (ur'/client/returncontent\.?(json|xml|text)?', _clientAnalytics.ReturnContent),
        (ur'/client/returntable\.?(json|xml|text)?', _clientAnalytics.ReturnTable),
        (ur'/client/channelday\.?(json|xml|text)?', _clientAnalytics.ChannelDay),
        (ur'/client/channelday_copy\.?(json|xml|text)?', _clientAnalytics.ChannelDay_copy),
        (ur'/client/citydayvideo\.?(json|xml|text)?', _clientAnalytics.CityDayVideo),
        (ur'/client/citydayvideo_copy\.?(json|xml|text)?', _clientAnalytics.CityDayVideo_copy),
        (ur'/client/citydaypaike\.?(json|xml|text)?', _clientAnalytics.CityDayPaike),
        (ur'/client/newmainvideo\.?(json|xml|text)?', _clientAnalytics.NewMainVideo),
        (ur'/client/newmainvideo_bf\.?(json|xml|text)?', _clientAnalytics.NewMainVideo_bf),
        (ur'/client/newmainpaike\.?(json|xml|text)?', _clientAnalytics.NewMainPaike),
        (ur'/client/returnver\.?(json|xml|text)?', _clientAnalytics.ReturnVer),
        (ur'/client/newmainvideo_ver\.?(json|xml|text)?', _clientAnalytics.NewMainVideo_ver),
        (ur'/client/newmainvideo_ver_new\.?(json|xml|text)?', _clientAnalytics.NewMainVideo_ver_new),
        (ur'/client/newmainpaike_ver_new\.?(json|xml|text)?', _clientAnalytics.NewMainPaike_ver_new),
        (ur'/client/newmainpaike_ver\.?(json|xml|text)?', _clientAnalytics.NewMainPaike_ver),
        (ur'/client/getfnamecn\.?(json|xml|text)?', _clientAnalytics.FnameCn),
        (ur'/client/getpnamecn\.?(json|xml|text)?', _clientAnalytics.PnameCn),
        (ur'/client/activeweek\.?(json|xml|text)?', _clientAnalytics.ActiveWeek),
        (ur'/client/returnpaiketable\.?(json|xml|text)?', _clientAnalytics.ReturnPaikeTable),
        (ur'/client/activemonth\.?(json|xml|text)?', _clientAnalytics.ActiveMonth),
        (ur'/client/startactive\.?(json|xml|text)?', _clientAnalytics.StartActive),
        (ur'/client/changebox\.?(json|xml|text)?', _clientAnalytics.ChangeBox),
        (ur'/client/closetime\.?(json|xml|text)?', _clientAnalytics.CloseTime),
        (ur'/client/newboardvideo\.?(json|xml|text)?', _clientAnalytics.NewBoardVideo),
        (ur'/client/newboardpaike\.?(json|xml|text)?', _clientAnalytics.NewBoardPaike),
        (ur'/client/outsite\.?(json|xml|text)?', _clientAnalytics.OutSite),
        (ur'/client/vidboard\.?(json|xml|text)?', _clientAnalytics.VidBoard),
        (ur'/client/checkfinished\.?(json|xml|text)?', _clientAnalytics.CheckFinished),
        (ur'/paike/uploadVid\.?(json|xml|text)?', _clientPaikeCollect.VidCollect),
        (ur'/client/retainvideo\.?(json|xml|text)?', _clientAnalytics.RetainVideo),
        (ur'/client/return_tudou_video\.?(json|xml|text)?', _clientAnalytics.Return_Tudou_Video),
        (ur'/client/return_tudou_paike\.?(json|xml|text)?', _clientAnalytics.Return_Tudou_Paike),
        (ur'/client/retainfactory\.?(json|xml|text)?', _clientAnalytics.RetainFactory),
        (ur'/client/prodownload\.?(json|xml|text)?', _clientAnalytics.ProDownload),
        (ur'/client/retainchannel\.?(json|xml|text)?', _clientAnalytics.RetainChannel),
        (ur'/client/retainpaike\.?(json|xml|text)?', _clientAnalytics.RetainPaike),
        (ur'/client/beforedurationmain\.?(json|xml|text)?', _clientAnalytics.BeforeDurationMain),
        (ur'/client/beforedurationmain_ver', _clientAnalytics.BeforeDurationMain_ver),
        (ur'/client/playdurationmain\.?(json|xml|text)?', _clientAnalytics.PlayDurationMain),
        (ur'/client/localvv\.?(json|xml|text)?', _clientAnalytics.LocalVv),
        (ur'/client/phvideo\.?(json|xml|text)?', _clientAnalytics.PhVideo),
        (ur'/client/phpaike\.?(json|xml|text)?', _clientAnalytics.PhPaike),
        (ur'/client/playdurationmain_ver', _clientAnalytics.PlayDurationMain_ver),
        (ur'/pid/manage', _pidManage.Manage),
        (ur'/', _index.Handle),
]
